package cn.uniquesoft.service.impl;
import org.springframework.stereotype.Service;

import cn.uniquesoft.mapper.MyCollectionMapper;

import cn.uniquesoft.service.IMyCollectionService;
import cn.uniquesoft.service.base.BaseServiceImpl;
import cn.uniquesoft.vo.MyCollectionVO;

import java.util.List;

@Service
public class MyCollectionServiceImpl extends BaseServiceImpl<MyCollectionVO>implements IMyCollectionService{
	private MyCollectionMapper myCollectionMapper;
	public MyCollectionServiceImpl(MyCollectionMapper myCollectionMapper) {
		super();
		this.baseMapper=myCollectionMapper;
		this.myCollectionMapper = myCollectionMapper;
	}

	@Override
	public List<MyCollectionVO> findListDown(MyCollectionVO item) {
		return this.myCollectionMapper.findListDown(item);
	}

	@Override
	public List<MyCollectionVO> findListUp(MyCollectionVO item) {
		return this.myCollectionMapper.findListUp(item);
	}

	@Override
	public List<MyCollectionVO> getItemsFirst(MyCollectionVO item) {
		return this.myCollectionMapper.getItemsFirst(item);
	}
}
